/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.manage.core.service.result.info;

import info.peigen.hotpot.common.service.base.ResultInfoBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(ResourceResultInfo)</b>
 * "资源" 值对象
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024-06-28
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
@ApiModel
public class ResourceInfo extends ResultInfoBase {
    @ApiModelProperty(value = "资源Id", position = 1)
    String resourceId;
    @ApiModelProperty(value = "父Id", position = 2)
    String parentId;
    @ApiModelProperty(value = "标题", position = 3)
    String title;
    @ApiModelProperty(value = "别名", position = 4)
    String name;
    @ApiModelProperty(value = "编码", position = 5)
    String code;
    @ApiModelProperty(value = "分类", position = 6)
    String category;
    @ApiModelProperty(value = "模块", position = 7)
    String module;
    @ApiModelProperty(value = "菜单类型", position = 8)
    String menuType;
    @ApiModelProperty(value = "路径", position = 9)
    String path;
    @ApiModelProperty(value = "组件", position = 10)
    String component;
    @ApiModelProperty(value = "图标", position = 11)
    String icon;
    @ApiModelProperty(value = "颜色", position = 12)
    String color;
    @ApiModelProperty(value = "是否可见", position = 13)
    String visible;
    @ApiModelProperty(value = "排序序号", position = 14)
    Integer sort;
    @ApiModelProperty(value = "扩展信息", position = 15)
    String ext;
}